using UnityEngine;
using System.Collections;

public class LevelButton : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void OnGUI()
	{
	
		if(GUI.Button (new Rect(Screen.width-150,0,150,50), "Back to Main Menu"))
		{
			Application.LoadLevel(1);	
		}
		
		
	}
}
